export namespace="milvus-system"
export app_name="milvus"
export repo="milvus"
export helm="$repo/$app_name"
export url="https://milvus-io.github.io/milvus-helm/"

# helm repo remove $repo
helm repo add $repo $url
helm repo update $repo

helm upgrade --create-namespace --install \
    -n $namespace $app_name $helm
# --values ./oam/dapr/values.yaml --wait
# --version $version
# --set global.ha.enabled=true # 高可用

helm install $dashboard_name $helm_dashboard --namespace $namespace \
    --values ./cloud-database/milvus/values.yaml --wait

# 升级完dapr版本 更新运行的应用pod

# kubectl rollout restart deploy/<Application deployment name>
